package com.lyrcsoft.lycrsoftopenfeigntest.controller;

import com.lyrcsoft.lycrsoftopenfeigntest.TestRemoteService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * @author fujc2dev@126.com
 * @date 2024-08-23
 */
@RestController
@RequestMapping("/test")
public class TestController {

	@Resource
	private TestRemoteService testService;

	@GetMapping("/test")
	public String test() {
		return "test";
	}


	@GetMapping("/feign")
	public String feign() {
		return testService.test();
	}
}
